package com.ppb.http;

import java.util.Properties;

import com.ppb.http.util.HttpClientUtil;

public class SendReq {
 private static String URL = "http://newday.iteye.com/blog";
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Properties properties  = new Properties();
		properties.put("Accept", "	text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
		properties.put("Accept-Encoding", "gzip, deflate");
		properties.put("Accept-Language", "zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3");
		properties.put("Cache-Control", "	max-age=0");
		properties.put("Connection", "keep-alive");
		properties.put("Host", "newday.iteye.com");
		properties.put("If-None-Match", "96ba82bfa1b6dbca802c37da652a48f7");
		properties.put("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0");
		try {
			HttpClientUtil.requestGet(URL+"/1840185", null, properties);
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
